// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.BarPresentFlowDao;
import com.liuxinlong.modules.entity.BarPresentFlow;
import com.liuxinlong.modules.mapper.BarPresentFlowMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2022年7月28日
 */
@Service
public class BarPresentFlowDaoImpl extends ServiceImpl<BarPresentFlowMapper, BarPresentFlow> implements BarPresentFlowDao {

    @Override
    public List<BarPresentFlow> pageBarPresentFlowList(Map<String, Object> queryParam) {
        return baseMapper.pageBarPresentFlowList(queryParam);
    }

    @Override
    public int getBarPresentFlowCount(Map<String, Object> queryParam) {
        return baseMapper.getBarPresentFlowCount(queryParam);
    }

    @Override
    public void updatePresentFlowStatus(String id, int targetStatus) {
        baseMapper.updatePresentFlowStatus(id,targetStatus);
    }
}
